package com.spudtech.utils
{
    
    import flash.geom.*;
    import flash.events.*;
    
    import flash.utils.Dictionary;
    
    import com.spudtech.*;
    
    
    public class SpudInputAIR extends SpudInput
    {
        
        public function SpudInputAIR()
        {
            super(new SpudKeyAIR());
            
            SpudGame.mainApp.stage.addEventListener(MouseEvent.RIGHT_MOUSE_DOWN,this.onRightMouseDown);
            SpudGame.mainApp.stage.addEventListener(MouseEvent.RIGHT_MOUSE_UP,this.onRightMouseUp);
            
            SpudGame.mainApp.stage.addEventListener(MouseEvent.MIDDLE_MOUSE_DOWN,this.onMiddleMouseDown);
            SpudGame.mainApp.stage.addEventListener(MouseEvent.MIDDLE_MOUSE_UP,this.onMiddleMouseUp);
            
        }
        
        public static function init() : void
        {
            _inputMgr = new SpudInputAIR();
        }
        
        
        public function onRightMouseDown(event : MouseEvent) : void
        {
            // TODO
        }
        public function onRightMouseUp(event : MouseEvent) : void
        {
            // TODO
        }
        
        public function onMiddleMouseDown(event : MouseEvent) : void
        {
            // TODO
        }
        public function onMiddleMouseUp(event : MouseEvent) : void
        {
            // TODO
        }
        
    }
    
}
